<% if @revision.redirect_to != nil -%>
	<div class="warning">
		<p>This page is a category and visitors see <%= link_to Page.find(@revision.redirect_to).name, :controller => "show", :action => "show", :id => Page.find(@revision.redirect_to).slug %>.</p>
	</div>
<% end -%>
<p><%= @revision.content %></p>